#ifndef MAIN_H
#define MAIN_H

#include <jack/jack.h>

#define MAX_CHANNELS 8
#define MAX_PORTS (MAX_CHANNELS * 2)
#define MAX_SYNC_SAMPLES 20

extern jack_port_t *input_ports[MAX_PORTS];
extern jack_port_t *output_ports[MAX_PORTS];

extern int num_inputs;
extern float env[MAX_CHANNELS];

extern float bias;

extern char *cal_file_path;

#endif
